import request from "@/utils/request";

//获取任教班级
export const teachClasses = (params) => {
  return request({
    url: "/query/teachClasses",
    method: "POST",
    params,
  });
};
/**
 * 获取班级学生信息或科目或评价
 * @param {*} data
 * @returns
 */
export const classStudentQuery = (data) => {
  return request({
    url: "/query/classStudentQuery",
    method: "POST",
    data,
  });
};
//查询学生报告单
export const studentReportQuery = (data) => {
  return request({
    url: "/query/studentReportQuery",
    method: "POST",
    data,
  });
};

//大科成绩保存 修改

export const bigObject = (data) => {
  return request({
    url: "/achievement/bigObject",
    method: "POST",
    data,
  });
};

//小科成绩保存 修改

export const smallObject = (data) => {
  return request({
    url: "/achievement/smallObject",
    method: "POST",
    data,
  });
};

//评价保存修改

export const postEvaluate = (data) => {
  return request({
    url: "/achievement/evaluate",
    method: "POST",
    data,
  });
};
